﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Duck:Animal,ISwim
    {
        public Duck() { }
        public Duck(string name)
        {
            this.Name = name;

        }
        public void PrintISwim()
        {
            Console.WriteLine("我还会漂浮游泳");
        }
    }
}
